package com.atguigu.auth.service;

import com.atguigu.model.process.Process;
import com.atguigu.vo.process.ApprovalVo;
import com.atguigu.vo.process.ProcessFormVo;
import com.atguigu.vo.process.ProcessVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author 12646
* @description 针对表【oa_process(审批类型)】的数据库操作Service
* @createDate 2023-11-21 19:23:48
*/
public interface OaProcessService extends IService<Process> {
  void deployByZip(String deployPath);
  
  void startUp(ProcessFormVo processFormVo);
  // 查询待处理的列表
  IPage<ProcessVo> findPending(Page<java.lang.Process> pageParam);
  
  Map<String, Object> show(Long id);
  
  void approve(ApprovalVo approvalVo);
  IPage<ProcessVo> findProcessed(Page<Process> pageParam);
  
  IPage<ProcessVo> findStarted(Page<ProcessVo> pageParam);
}
